#!/usr/bin/env python
# -*- coding:utf-8 -*-
import json


def make_cust_dinner_food_method():
    import datetime
    days = []
    # 1 --------------------------------------------------------------------------------------------------
    foods = []
    foods.append({'name': '玉米粒', 'key': '玉米粒', 'catalog': '碳水化合'})
    foods.append({'name': '紫薯', 'key': '紫薯', 'catalog': '碳水化合'})
    foods.append({'name': '水煮鸡蛋(2个)', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '西兰花', 'key': '西兰花', 'catalog': '维生素'})
    foods.append({'name': '花生酱', 'key': '花生酱', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '水煮牛肉', 'key': '牛肉', 'catalog': '蛋白质'})
    foods.append({'name': '油麦菜', 'key': '油麦菜', 'catalog': '维生素'})
    foods.append({'name': '鸡胸肉', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '水煮鸡胸肉', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '鸡蛋炒木耳', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '菠菜炒胡萝卜', 'key': '胡萝卜', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=0)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    # 2 --------------------------------------------------------------------------------------------------
    foods = []
    foods.append({'name': '全麦面包', 'key': '面包', 'catalog': '碳水化合'})
    foods.append({'name': '黄瓜', 'key': '黄瓜', 'catalog': '维生素'})
    foods.append({'name': '青菜', 'key': '青菜', 'catalog': '维生素'})
    foods.append({'name': '香蕉', 'key': '香蕉', 'catalog': '碳水化合'})
    foods.append({'name': '花生酱', 'key': '花生酱', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '鸡胸肉炒芹菜', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '木耳炒蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '清炒豆芽', 'key': '豆芽', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '丝瓜蒸牛肉', 'key': '牛肉', 'catalog': '蛋白质'})
    foods.append({'name': '白灼西兰花', 'key': '西兰花', 'catalog': '维生素'})
    foods.append({'name': '香菇炒鸡腿', 'key': '鸡腿', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=1)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    # 3 --------------------------------------------------------------------------------------------------
    foods = []
    foods.append({'name': '红薯', 'key': '红薯', 'catalog': '碳水化合'})
    foods.append({'name': '西兰花', 'key': '西兰花', 'catalog': '维生素'})
    foods.append({'name': '白灼虾', 'key': '虾', 'catalog': '蛋白质'})
    foods.append({'name': '豆腐(蒸/炒)', 'key': '豆腐', 'catalog': '蛋白质'})
    foods.append({'name': '坚果', 'key': '坚果', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '去皮鸡腿(1个)', 'key': '鸡腿', 'catalog': '蛋白质'})
    foods.append({'name': '豆皮炒青椒', 'key': '豆皮', 'catalog': '维生素'})
    foods.append({'name': '西红柿炒鸡蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '虾仁滑蛋', 'key': '虾仁', 'catalog': '蛋白质'})
    foods.append({'name': '蒜蓉油麦菜', 'key': '油麦菜', 'catalog': '维生素'})
    foods.append({'name': '香煎鸡胸肉', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=2)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    # 4 --------------------------------------------------------------------------------------------------
    foods = []
    foods.append({'name': '土豆', 'key': '土豆', 'catalog': '碳水化合'})
    foods.append({'name': '荷兰豆', 'key': '荷兰豆', 'catalog': '蛋白质'})
    foods.append({'name': '水煮鸡胸', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '西红柿炒鸡蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '基围虾', 'key': '基围虾', 'catalog': '蛋白质'})
    foods.append({'name': '菠菜炒蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '清炒莴笋', 'key': '莴笋', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '去皮鸡腿(1个)', 'key': '鸡腿肉', 'catalog': '蛋白质'})
    foods.append({'name': '西葫芦炒肉', 'key': '西葫芦', 'catalog': '维生素'})
    foods.append({'name': '煎豆腐', 'key': '豆腐', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=3)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    # 5 --------------------------------------------------------------------------------------------------
    cans = []
    foods = []
    foods.append({'name': '薏米', 'key': '薏米', 'catalog': '碳水化合'})
    foods.append({'name': '彩椒炒口蘑', 'key': '口蘑', 'catalog': '维生素'})
    foods.append({'name': '煎鸡胸', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '圣女果(5个)', 'key': '圣女果', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '水煮鸡胸肉', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '蒜泥豆角', 'key': '豆角', 'catalog': '维生素'})
    foods.append({'name': '金针菇炒青椒', 'key': '金针菇', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '水煮牛肉', 'key': '牛肉', 'catalog': '蛋白质'})
    foods.append({'name': '黄瓜炒蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '白灼菜心', 'key': '菜心', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=4)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    # 6 --------------------------------------------------------------------------------------------------
    foods = []
    foods.append({'name': '芋头', 'key': '芋头', 'catalog': '碳水化合'})
    foods.append({'name': '胡萝卜炒瘦肉', 'key': '猪肉', 'catalog': '维生素'})
    foods.append({'name': '水煮牛肉', 'key': '牛肉', 'catalog': '蛋白质'})
    foods.append({'name': '香蕉', 'key': '香蕉', 'catalog': '碳水化合'})
    foods.append({'name': '坚果', 'key': '坚果', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '苦瓜炒鸡蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '牛肉炒口蘑', 'key': '牛肉', 'catalog': '蛋白质'})
    foods.append({'name': '西兰花', 'key': '西兰花', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '白煎鸡胸肉', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '蒜蓉油麦菜', 'key': '油麦菜', 'catalog': '维生素'})
    foods.append({'name': '清炒西葫芦', 'key': '西葫芦', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=4)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    # 7 --------------------------------------------------------------------------------------------------
    foods = []
    foods.append({'name': '全麦面包', 'key': '面包', 'catalog': '碳水化合'})
    foods.append({'name': '瘦肉炒芹菜', 'key': '猪肉', 'catalog': '蛋白质'})
    foods.append({'name': '白灼虾', 'key': '虾', 'catalog': '蛋白质'})
    foods.append({'name': '煎鸡蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '花生酱', 'key': '花生酱', 'catalog': '脂肪'})
    zaocan = {"foods": foods, "name": "zaocan"}
    foods = []
    foods.append({'name': '糙米', 'key': '糙米', 'catalog': '碳水化合'})
    foods.append({'name': '鸡胸肉炒青椒', 'key': '鸡胸肉', 'catalog': '蛋白质'})
    foods.append({'name': '清炒娃娃菜', 'key': '娃娃菜', 'catalog': '维生素'})
    foods.append({'name': '煎鸡蛋', 'key': '鸡蛋', 'catalog': '蛋白质'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wucan = {"foods": foods, "name": "wucan"}
    foods = []
    foods.append({'name': '黑米', 'key': '黑米', 'catalog': '碳水化合'})
    foods.append({'name': '西红柿豆腐', 'key': '西红柿', 'catalog': '维生素'})
    foods.append({'name': '去皮鸡腿(1个)', 'key': '鸡腿肉', 'catalog': '蛋白质'})
    foods.append({'name': '西兰花口蘑', 'key': '口蘑', 'catalog': '维生素'})
    foods.append({'name': '鱼油(粒)', 'key': '鱼油', 'catalog': '脂肪'})
    wancan = {"foods": foods, "name": "wancan"}
    cans.append(wancan)
    str_cal_date = (datetime.datetime.now() + datetime.timedelta(days=6)).strftime("%Y-%m-%d")
    day = {"cal_date": str_cal_date, "can": [zaocan, wucan, wancan]}
    days.append(day)
    return json.dumps(days, ensure_ascii=False)


if __name__ == '__main__':
    print(make_cust_dinner_food_method())
